home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / bin / tails-shutdown-network < prev    next >
Encoding:
Text File  |  2012-11-13  |  396 b   |  24 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. pkill vidalia
  6. service tor stop
  7. service networking stop
  8. service network-manager stop
  9.  
  10. iptables -P INPUT   DROP
  11. iptables -P FORWARD DROP
  12. iptables -P OUTPUT  DROP
  13.  
  14. iptables -t nat -P PREROUTING  ACCEPT
  15. iptables -t nat -P INPUT       ACCEPT
  16. iptables -t nat -P OUTPUT      ACCEPT
  17. iptables -t nat -P POSTROUTING ACCEPT
  18.  
  19. iptables -F
  20. iptables -X
  21.  
  22. iptables -t nat -F
  23. iptables -t nat -X
  24.